Add convenience function for querying a child of GtkGrid
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 4 Apr 2019 21:41:19 +0000 (22:41 +0100)
committerEmmanuele Bassi <ebassi@gnome.org>
Thu, 4 Apr 2019 21:41:19 +0000 (22:41 +0100)
commitfaafd23225cc2f5e5e58561efedc086db29a3524
tree8b63637e1bae2fe801e77e8495ecf9e416929cab
parent62acb8067127ec83476e016796a8caa95ef485fc
Add convenience function for querying a child of GtkGrid

Getting the layout manager instance out of GtkGrid, and then querying
all layout properties can be tedious, especially for code that was
usually calling gtk_container_child_get().

To replace that, we can add a simple query function that returns the two
attach points and the spans.
gtk/gtkgrid.c
gtk/gtkgrid.h